//
//  OrderCartView.h
//  WeiYiMei
//
//  Created by iMac on 2019/4/13.
//  Copyright © 2019年 liyefu. All rights reserved.
// 

#import "ANBaseView.h"
#import "GoodsNumSelectView.h"

NS_ASSUME_NONNULL_BEGIN

typedef enum : NSUInteger {
    OrderCartViewNormal,
    OrderCartViewSelect,
} OrderCartViewType;

typedef void(^selectHandler)(int num);
typedef void(^addOrDeleteHandler)(int num);

@interface OrderCartView : ANBaseView

@property (nonatomic) OrderCartViewType type;

@property (nonatomic, strong) UILabel *orderState;
@property (nonatomic, strong) UILabel *shopNameLab;
@property (nonatomic, strong) UIImageView *tradeIcon;
@property (nonatomic, strong) UILabel *tradeNameLab;
@property (nonatomic, strong) UILabel *tradeDesLab;
@property (nonatomic, strong) UILabel *tradeTimeLab;//商品规格
@property (nonatomic, strong) UILabel *tradeNumLab;//选择数量

@property (nonatomic, copy) NSString *price;
@property (nonatomic, copy) NSString *memberPrice;

// OrderCartViewNormal 下显示
@property (nonatomic, strong) UILabel *payLab;
@property (nonatomic, strong) UILabel *payPriceLab;

// OrderCartViewSelect 下显示
@property (nonatomic, strong) GoodsNumSelectView *goodsNumSelectView;
@property (nonatomic, assign) BOOL isSelect;

// 暂无用
@property (nonatomic, strong) UILabel *VIPPayLab;
@property (nonatomic, strong) UILabel *VIPPayPriceLab;


@property (nonatomic, copy) selectHandler selectHandler;
@property (nonatomic, copy) addOrDeleteHandler addOrDeleteHandler;

@end

NS_ASSUME_NONNULL_END
